
<%@ page import="com.opeace.SchoolClass" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'schoolClass.label', default: 'SchoolClass')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-schoolClass" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		
        <h1>${schoolClassInstance?.name}</h1>
		<table align="center" width="100%">
                  <tr>

		<td align="left" width="50%" style="vertical-align: top;">
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list schoolClass">
			
				<g:if test="${schoolClassInstance?.child}">
				<li class="fieldcontain">
					<span id="child-label" class="property-label"><g:message code="schoolClass.child.label" default="Child" /></span>
					
						<span class="property-value" aria-labelledby="child-label"><g:link controller="child" action="show" id="${schoolClassInstance?.child?.id}">${schoolClassInstance?.child?.firstName.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${schoolClassInstance?.description}">
				<li class="fieldcontain">
					<span id="description-label" class="property-label"><g:message code="schoolClass.description.label" default="Description" /></span>
					
						<span class="property-value" aria-labelledby="description-label"><g:fieldValue bean="${schoolClassInstance}" field="description"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${schoolClassInstance?.grade}">
				<li class="fieldcontain">
					<span id="grade-label" class="property-label"><g:message code="schoolClass.grade.label" default="Grade" /></span>
					
						<span class="property-value" aria-labelledby="grade-label"><g:fieldValue bean="${schoolClassInstance}" field="grade"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${schoolClassInstance?.level}">
				<li class="fieldcontain">
					<span id="level-label" class="property-label"><g:message code="schoolClass.level.label" default="Level" /></span>
					
						<span class="property-value" aria-labelledby="level-label"><g:fieldValue bean="${schoolClassInstance}" field="level"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${schoolClassInstance?.name}">
				<li class="fieldcontain">
					<span id="name-label" class="property-label"><g:message code="schoolClass.name.label" default="Name" /></span>
					
						<span class="property-value" aria-labelledby="name-label"><g:fieldValue bean="${schoolClassInstance}" field="name"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${schoolClassInstance?.school}">
				<li class="fieldcontain">
					<span id="school-label" class="property-label"><g:message code="schoolClass.school.label" default="School" /></span>
					
						<span class="property-value" aria-labelledby="school-label"><g:link controller="school" action="show" id="${schoolClassInstance?.school?.id}">${schoolClassInstance?.school?.name.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${schoolClassInstance?.subject}">
				<li class="fieldcontain">
					<span id="subject-label" class="property-label"><g:message code="schoolClass.subject.label" default="Subject" /></span>
					
						<span class="property-value" aria-labelledby="subject-label"><g:fieldValue bean="${schoolClassInstance}" field="subject"/></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${schoolClassInstance?.id}" />
					<g:link class="edit" style="font-size:17px;" action="edit" id="${schoolClassInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		 </td>
                  </tr>

	</table>
         <div class="nav" role="navigation">
			<ul>
				<li><g:link class="list" action="list">Class List</g:link></li>
			</ul>
                      </div>
		
	</body>
</html>
